package com.whfc.emp.param.openapi;

import com.whfc.common.geometry.Point;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author sun_guodong
 * @description
 * @date 2020-06-23
 */
@Data
public class OpenApiFenceAddParam implements Serializable {
    private Integer deptId;
    @NotEmpty
    private String fenceName;
    @NotNull
    private Integer type;
    private Double radius;
    private List<Point> polygon;
    private Point center;
}
